package pit.com.ordermobilesystem.http;

import org.json.JSONException;
import org.json.JSONObject;


public class ResponseParser extends AbstractParser<Response> {
	public String mValue = "";
	
    @Override
    public Response parse(JSONObject json) throws JSONException {
        Response response = new Response();
        response.setValue(json.toString());
        return response;
    }


    public Response parse(String text) {
        Response response = new Response();
        response.setValue(text);
        return response;
    }    
}
